//
//  PTNewLabelViewController.m
//  PuTie
//
//  Created by 夜猫子 on 2017/7/15.
//  Copyright © 2017年 周宏全. All rights reserved.
//

#import "PTNewLabelViewController.h"
#import "PTDrawViewController.h"
#import "PTLabelTableViewController.h"
#import "Masonry.h"

@interface PTNewLabelViewController ()

@end

@implementation PTNewLabelViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor redColor];
    
    PTLabelTableViewController *labelVC = [[PTLabelTableViewController alloc] init];
    [self.view addSubview:labelVC.view];
    [labelVC.view mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.equalTo(@284);
    }];
    
    PTDrawViewController *drawVC = [[PTDrawViewController alloc] init];
    [self.view addSubview:drawVC.view];
    [drawVC.view mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.mas_topLayoutGuideBottom);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(labelVC.view.mas_top);
    }];
    
}

@end
